There's a lot of dead vertical space right now from
the session list, even if there are no sessions.
This commit mops that up.
https://bugzilla.gnome.org/show_bug.cgi?id=661479
}
.login-dialog-prompt-layout {
- padding-bottom: 64px;
+ padding-bottom: 32px;
}
.login-dialog-prompt-label {
color: white;
let ids = GdmGreeter.get_session_ids();
ids.sort();
- if (ids.length <= 1)
+ if (ids.length <= 1) {
this._box.hide();
- else
+ this._button.hide();
+ } else {
+ this._button.show();
this._box.show();
+ }
for (let i = 0; i < ids.length; i++) {
let [sessionName, sessionDescription] = GdmGreeter.get_session_name_and_description(ids[i]);